/**
 * File ModelException.java created by Pablo Díaz Fernández
 * on 27/10/2011 for the project supply-chain-simulator
 */
package org.lsk.pfc.scsim.model.exception;

/**
 * Superclass of all exceptions of the application.
 * 
 * @author Pablo Díaz Fernández
 */
public abstract class ModelException extends Exception {

	/**
	 * Serial version ID.
	 */
	private static final long serialVersionUID = -9030572135710122851L;

	/**
	 * Constructor of the class.
	 * 
	 */
	public ModelException() {
	}

	/**
	 * Constructor of the class.
	 * 
	 * @param message
	 *            Exception message.
	 * @param cause
	 *            Cause of the exception.
	 */
	public ModelException(final String message, final Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructor of the class.
	 * 
	 * @param message
	 *            Exception message.
	 */
	public ModelException(final String message) {
		super(message);
	}

	/**
	 * Constructor of the class.
	 * 
	 * @param cause
	 *            Cause of the exception.
	 */
	public ModelException(final Throwable cause) {
		super(cause);
	}

}
